<template>
  <div>
    <div class="main-container">
      <div class="img-container container-item">
        <img src="@/assets/404.png" width="100%" />
      </div>
      <div class="text-container container-item">
        <div class="msg">你查看的页面貌似丢失了呢...</div>
        <a class="action" href="#" @click="$router.push({ path: '/' })"
          ><div>&lt;&lt; 返回首页,查看更多内容.</div></a
        >
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "notfound",
};
</script>

<style>
.main-container {
  width: 320px;
  height: 480px;
  max-width: 1000px;
  max-height: 500px;

  background-color: white;
  font-size: 0;
  border-radius: 20px;
  box-shadow: 0 0 50px 0 rgba(146, 146, 146, 0.63);
  overflow: hidden;
}
.main-container .container-item {
  /* display: inline-block; */
  vertical-align: middle;
  /* overflow: hidden; */
  /* width: 50%; */
}

.main-container .img-container {
  background-color: rgba(253, 216, 168, 0.692);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.main-container .text-container .code {
  font-size: clamp(150px, 20vw, 200px);
  font-family: "Arial Narrow";
  color: rgb(86, 86, 253);
  font-weight: bolder;
  text-align: center;
}

.main-container .text-container .msg {
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

.main-container .text-container .action {
  color: #f90;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration-line: none;
}
.main-container .text-container a:hover {
  color: #5bc0de;
}
</style>
